package com.exposit.zbs.model;

import java.util.Date;


/**
 * @author Andrey
 */
public class Comment implements java.io.Serializable {

	private Integer commentId;
	private GrantApplication grantApplication;
	private User user;
	private String commentText;
	private Date commentDate;

	public Comment() {

	}

	public Comment(String text, User user, GrantApplication grantApp) {

		this.grantApplication = grantApp;
		this.user = user;
		this.commentText = text;
	}

	public Integer getCommentId() {

		return this.commentId;
	}

	public GrantApplication getGrantApplication() {

		return this.grantApplication;
	}

	public void setGrantApplication(GrantApplication grantApplication) {

		this.grantApplication = grantApplication;
	}

	public User getUser() {

		return this.user;
	}

	public void setUser(User user) {

		this.user = user;
	}

	public String getCommentText() {

		return this.commentText;
	}

	public void setCommentText(String commentText) {

		this.commentText = commentText;
	}

	public Date getCommentDate() {

		return this.commentDate;
	}

	public void setCommentDate(Date commentDate) {

		this.commentDate = commentDate;
	}
}

